<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>JGProgressHUDPieIndicatorView Class Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1333)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">JGProgressHUD </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">Jonas Gessner</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	
	<option value="overview">Overview</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	
	<optgroup label="Properties">
		
		<option value="//api/name/color">color</option>
		
		<option value="//api/name/fillColor">fillColor</option>
		
	</optgroup>
	

	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/initWithContentView:">- initWithContentView:</option>
		
		<option value="//api/name/setProgress:animated:">- setProgress:animated:</option>
		
		<option value="//api/name/setUpForHUDStyle:vibrancyEnabled:">- setUpForHUDStyle:vibrancyEnabled:</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">JGProgressHUDPieIndicatorView Class Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Inherits from</th>
	<td><a href="../Classes/JGProgressHUDIndicatorView.html">JGProgressHUDIndicatorView</a> : UIView</td>
</tr><tr>
	<th>Declared in</th>
	<td>JGProgressHUDPieIndicatorView.h<br />JGProgressHUDPieIndicatorView.m</td>
</tr>
						</tbody></table></div>
					

                    
					
					<div class="section section-overview">
						<a title="Overview" name="overview"></a>
						<h2 class="subtitle subtitle-overview">Overview</h2>
						<p>A pie shaped determinate progress indicator.</p>
					</div>
					
					

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						
						<h2 class="task-title">Other Methods</h2>

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/initWithContentView:" title="initWithContentView:"></a>
	<h3 class="method-title"><code><a href="#//api/name/initWithContentView:">&ndash;&nbsp;initWithContentView:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Designated initializer for this class.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (instancetype)initWithContentView:(UIView *)<em>contentView</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>contentView</code></th>
						<td><p>The content view to place on the container view (the container is the JGProgressHUDIndicatorView).</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Designated initializer for this class.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUDIndicatorView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setProgress:animated:" title="setProgress:animated:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setProgress:animated:">&ndash;&nbsp;setProgress:animated:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Adjusts the current <a href="../Classes/JGProgressHUDIndicatorView.html#//api/name/progress">progress</a> shown by the receiver, optionally animating the change.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setProgress:(float)<em>progress</em> animated:(BOOL)<em>animated</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>progress</code></th>
						<td><p>The new <a href="../Classes/JGProgressHUDIndicatorView.html#//api/name/progress">progress</a> value.</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>animated</code></th>
						<td><p>YES if the change should be animated, NO if the change should happen immediately.</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Adjusts the current <a href="../Classes/JGProgressHUDIndicatorView.html#//api/name/progress">progress</a> shown by the receiver, optionally animating the change.</p>

<p>The current <a href="../Classes/JGProgressHUDIndicatorView.html#//api/name/progress">progress</a> is represented by a floating-point value between 0.0 and 1.0, inclusive, where 1.0 indicates the completion of the task. The default value is 0.0. Values less than 0.0 and greater than 1.0 are pinned to those limits.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUDIndicatorView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setUpForHUDStyle:vibrancyEnabled:" title="setUpForHUDStyle:vibrancyEnabled:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setUpForHUDStyle:vibrancyEnabled:">&ndash;&nbsp;setUpForHUDStyle:vibrancyEnabled:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Use this method to set up the indicator view to fit the HUD style and vibrancy setting. This method is called by @c <a href="../Classes/JGProgressHUD.html">JGProgressHUD</a> when the indicator view is added to the HUD and when the HUD&rsquo;s @c vibrancyEnabled property changes. This method may be called multiple times with different values. The default implementation does nothing.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setUpForHUDStyle:(JGProgressHUDStyle)<em>style</em> vibrancyEnabled:(BOOL)<em>vibrancyEnabled</em></code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Use this method to set up the indicator view to fit the HUD style and vibrancy setting. This method is called by @c <a href="../Classes/JGProgressHUD.html">JGProgressHUD</a> when the indicator view is added to the HUD and when the HUD&rsquo;s @c vibrancyEnabled property changes. This method may be called multiple times with different values. The default implementation does nothing.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUDIndicatorView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						

						
						<h2 class="task-title">Other Methods</h2>

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/color" title="color"></a>
	<h3 class="method-title"><code><a href="#//api/name/color">&nbsp;&nbsp;color</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Tint color of the Pie.
@attention Custom values need to be set after assigning the indicator view to @c JGProgressHUD&rsquo;s @c indicatorView property.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, strong, nonnull) UIColor *color</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Tint color of the Pie.
@attention Custom values need to be set after assigning the indicator view to @c JGProgressHUD&rsquo;s @c indicatorView property.</p>

<p>@b Default: White for JGProgressHUDStyleDark, otherwise black.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUDPieIndicatorView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/fillColor" title="fillColor"></a>
	<h3 class="method-title"><code><a href="#//api/name/fillColor">&nbsp;&nbsp;fillColor</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>The background fill <a href="#//api/name/color">color</a> inside the pie.
@attention Custom values need to be set after assigning the indicator view to @c JGProgressHUD&rsquo;s @c indicatorView property.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, strong, nonnull) UIColor *fillColor</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>The background fill <a href="#//api/name/color">color</a> inside the pie.
@attention Custom values need to be set after assigning the indicator view to @c JGProgressHUD&rsquo;s @c indicatorView property.</p>

<p>@b Default: Dark gray for JGProgressHUDStyleDark, otherwise light gray.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUDPieIndicatorView.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2020 Jonas Gessner. All rights reserved. Updated: 2020-10-16</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1333)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>